class_name  BlockEffect
extends Effect

var amount := 0
func execute(targets : Array[Node]) -> void:
	for target in targets:
		if not target:
			continue
		if target is Enemy or target is Player:
			target.stats.block += amount
			# 可以过操作位置实现其他效果 target.position.x -= 10
